package net.aiotos.common.dto;

import com.alibaba.fastjson.JSONObject;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@NoArgsConstructor
public class ResultJsonObject {
    private  Short code;
    private String msg;
    private JSONObject data;

    public <T> T toJavaObject(Class<T> tClass) {
        return data.toJavaObject(tClass);
    }
}
